import type { TagProps } from 'element-plus'

// 定义交易类型
export type TransactionType = 'recharge' | 'withdraw' | 'consume' | 'refund' | 'commission'
export type TransactionStatus = '成功' | '处理中' | '失败'

// 定义交易记录接口
export interface Transaction {
  id: number
  date: Date
  type: TransactionType
  amount: number
  balance: number
  description: string
  status: TransactionStatus
} 
